Ext.define('AkData.view.phone.Main', {
    extend: 'Ext.dataview.NestedList',
    requires: ['Ext.TitleBar'],

    id: 'mainNestedList',

    config: {
        fullscreen: true,
        title: 'akdatasoft',
		backText: '<span class="pictos_cem">[</span>',
		
        useTitleAsBackText: false,
        layout: {
            animation: {
                duration: 250,
                easing: 'ease-in-out'
            },
        },
		
		margin: AkData.app.android_default_browser_issue(),
		
        store: 'Menu_Store',
		
		listeners: {
			activeitemchange: function (me, value, oldValue, eOpts) {
				if (value.viewName != undefined) Ext.getCmp('mainNestedList').setBaseCls('baslik-kucult_12'); else Ext.getCmp('mainNestedList').setBaseCls();
			}
		},
		
        toolbar: {
            id: 'mainNavigationBar',
            xtype: 'titlebar',
            docked: 'top',
            title: 'akdatasoft',
			
            items: {
                xtype: 'button',
                id: 'viewSourceButton',
                align: 'right',
                ui: 'action',
                action: 'viewSource',
				iconCls: 'off',
            }
        }
    }
});